<h1>Edit news</h1>
<form action="" method="post">
	<div class="form-field">
		<label>Date:</label>
		<b>{$news->getDate()}</b><br />
	</div>
	<div class="form-field">
		<label>&nbsp;</label>
		<input type="checkbox" name="date" value="1" class="no-border" {if $date}checked="checked" {/if}/> Update news' date with today's date
		<br />
	</div>
	<div class="form-field">
		<label>Title:</label>
		<input type="text" name="title" value="{$news->getTitle()|escape}" class="fill" />
	</div>
	<div class="form-field">
		<label>Content:</label>
		<textarea name="content" rows="0" cols="0" class="fill">{$news->getContent()|escape}</textarea>
	</div>
	<div class="form-field">
		<input type="checkbox" name="visible" value="1" class="no-border" {if $news->isVisible()}checked="checked" {/if}/> Visible
	</div>
	<div class="form-field center">
		<input type="submit" name="edit_button" value="Update" />
	</div>
</form>